/* SIZING_OPERATIONS.H
 *
 * This file contains the sizing operations. The resulting image of these
 * operations may have a different size than the original image. The new
 * image is created in the setup methods, where the size can be determined.
 */

#pragma once

#include "image.h"
#include "operations.h"

//The setup methods return false to cancel the operation.
//The other (operation) methods return false on failure.

bool rotateSetup( Task *task );
bool rotate( Image &imgSource, Image &imgResult, void *data );

bool resizeSetup( Task *task );
bool resize( Image &imgSource, Image &imgResult, void *data );
